<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.hotel.jabc.DB" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
     <title>资源管理</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="icon" href="../images/icon.jpg" type="image/x-icon">
	<link rel="stylesheet" type="text/css" href="../css/generalstyle.css">
	

  </head>
  
  <body>
	<%@ include file="adminRestop.jsp" %>
	<% Vector<String> list = (Vector<String>)session.getAttribute("list");
	   int group = Integer.parseInt(list.get(0));
	   String gName = list.get(1);//得到分组名
	   String cpStr=request.getParameter("cp");
	   int currPage=1;//设置默认当前页为第一页
	   if(cpStr!=null){
	 	currPage=Integer.parseInt(cpStr.trim());//得到当前页
	    }
	   int span=5;//每页显示记录条数为5条
	   int totalPage=DB.getTotal(span,group);//得到总页数
     %>
   <%@ include file="adminFenYe.jsp" %>
  </body>
</html>
